﻿
/*title Heading Color*/
.goldclr {
    color: #b99663;
}



/* Horizontal line with icon */
.line-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin: 40px 0;
}

    .line-with-icon::before, .line-with-icon::after {
        content: '';
        flex-grow: 1;
        height: 2px;
        background: Grey
    }

    .line-with-icon i {
        margin: 0 15px;
        font-size: 24px;
        color: #1f386b; /* Icon color */
    }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/*         Apply the bounce animation 
*/ .bounce {
    animation: bounce 1s ease infinite;
}

p {
    margin-bottom: 0.5rem;
}


/* Custom button styles */
.container .d-flex .btn-get-started {
    background-color: #1f386b;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 16px;
    transition: all 0.3s ease; /* Smooth transition for all properties */
}

    /* Hover effect for the button */
    .container .d-flex .btn-get-started:hover {
        background-color: #e41937; /*  red background on hover */
        color: #fff;
        transform: scale(1.1); /* Button slightly grows when hovered */
    }

    .container .d-flex .btn-get-started:focus {
        outline: none;
        box-shadow: 0 0 5px rgba(72, 150, 72, 0.8); /* Greenish focus glow */
    }

/* For mobile responsiveness */
@media (max-width: 576px) {
    .btn-get-started {
        width: 100%;
        font-size: 18px;
        padding: 12px 0;
    }
}



/* Vision & Mission Section */
/* Vision and Mission Section */
#vision-mission {
    background-image: url('/assets/img/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    /*display: flex;*/
    justify-content: center; /* Center the container */
    align-items: center; /* Vertically center the content */
    height: auto; /* Full height of viewport */
    padding: 50px;
}

    #vision-mission .container {
        display: flex;
        flex-direction: column; /* Align Vision and Mission divs vertically */
        align-items: center;
        max-width: 1200px;
        width: 100%;
        z-index: 1; /* Ensure content is above the background */
    }

/* Vision and Mission Div Styling */
.vision {
    background-color: #1f386bd1; /* Default background color */
    padding: 40px;
    border-radius: 10px;
    width: 80%; /* Make the divs wider */
    margin-bottom: 40px;
    color: #fff;
    transform: translateY(50px);
    transition: background-color 0.7s ease-in-out, transform 0.3s ease-in-out;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3), 0px 8px 24px rgba(0, 0, 0, 0.2), 0px 16px 40px rgba(0, 0, 0, 0.1);
}


    .vision h2, .mission h2 {
        font-size: 2.5rem;
        color: #ffffff;
        margin-bottom: 20px;
    }

    .vision p, .mission p {
        font-size: 1.2rem;
        line-height: 1.5;
    }

/* Hover Effect for Vision */
/*.vision:hover {
        background-color: #e41937;
    }*/

/* Mission Section */
.mission {
    background-color: #e41937d1;
    padding: 40px;
    border-radius: 10px;
    width: 80%; /* Make the divs wider */
    margin-bottom: 40px;
    color: #fff;
    transform: translateY(50px);
    transition: background-color 0.7s ease-in-out, transform 0.3s ease-in-out;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3), 0px 8px 24px rgba(0, 0, 0, 0.2), 0px 16px 40px rgba(0, 0, 0, 0.1);
}

/* AOS Scroll Animation */
[data-aos="fade-up"] {
    opacity: 1;
    transform: translateY(50px);
    transition: all 0.5s ease-in-out;
}

/* Responsive Styling for Mobile */
@media (max-width: 768px) {
    #vision-mission {
        padding: 30px;
        background-attachment: scroll; /* Disable fixed background on mobile */
    }

        #vision-mission .container {
            flex-direction: column;
            align-items: center;
        }

    .vision, .mission {
        width: 90%; /* Make the divs take up more width on smaller screens */
        margin-bottom: 30px;
        padding: 30px; /* Reduce padding on smaller screens */
    }

        .vision h2, .mission h2 {
            font-size: 2rem;
        }

        .vision p, .mission p {
            font-size: 1rem;
        }
}



/*Dean section styling*/

#dean-message {
    background-color: #c6c7c942;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 75vh;
    padding: 50px;
}
/* .container {
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 1200px;
            width: 100%;
        }*/
.dean-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.image-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

    .image-container::before,
    .image-container::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        border: 5px solid #b99663;
    }

    .image-container::before {
        top: -10px;
        left: -10px;
        width: calc(100% + 20px);
        height: calc(100% - 20px);
        border-right: none;
        border-bottom: none;
    }

    .image-container::after {
        bottom: -10px;
        right: -10px;
        width: calc(100% + 20px);
        height: calc(100% - 20px);
        border-left: none;
        border-top: none;
    }

    .image-container img {
        width: 300px;
        height: auto;
        border-radius: 5px;
        display: block;
    }

.text-container {
    flex: 1;
    padding-left: 5%;
}

.title {
    font-size: 3rem;
    font-weight: 800 !important;
    margin-bottom: 10px;
    font-family: sans-serif;
}

.subtitle {
    border-bottom: 2px solid red;
    width: 150px;
    margin-bottom: 20px;
}

.content {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

.author {
    font-weight: bold;
    margin-top: 20px;
}

@media (max-width: 768px) {
    #dean-message {
        padding: 30px;
    }

    .dean-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .image-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

        .image-container img {
            width: 300px;
            height: auto;
        }

    .text-container {
        padding-left: 0;
    }

    .image-container::before {
        top: -10px;
        left: 25%;
        width: calc(100% - 50%);
        height: calc(100% - 20px);
        border-right: none;
        border-bottom: none;
    }

    .image-container::after {
        bottom: -10px;
        right: 25%;
        width: calc(100% - 50%);
        height: calc(100% - 20px);
        border-left: none;
        border-top: none;
    }
}
@media (max-width: 768px) {
    .image-container::after {
        bottom: -10px;
        right: -8%;
        width: 100%;
        height: calc(100% - 20px);
        border-left: none;
        border-top: none;
    }

    .image-container::before {
        top: -10px;
        left: -8%;
        width: 100%;
        height: calc(100% - 20px);
        border-right: none;
        border-bottom: none;
    }
}

@media (min-width: 375px) {
    .image-container::after {
        bottom: -10px;
        right: -4%;
        width: 100%;
        height: calc(100% - 20px);
        border-left: none;
        border-top: none;
    }
    .image-container::before {
        top: -10px;
        left: -4%;
        width: 100%;
        height: calc(100% - 20px);
        border-right: none;
        border-bottom: none;
    }
}
        /*management-studies Styling*/


        #management-studies {
    background-image: url('/assets/img/Bg-image.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

    #management-studies .container {
        background-color: transparent;
        color: white;
        text-align: center;
        padding: 50px 20px;
        margin: 0 !important;
    }

.heading {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.box {
    max-width: 600px;
    margin: 20px;
    padding: 20px;
    background: #e41937c1;
    border-radius: 10px;
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .box::after {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.2);
        transition: left 0.4s ease-in-out;
    }

    .box:hover::after {
        left: 100%;
    }

    .box:hover {
        transform: translateY(-10px);
        box-shadow: 0 0px 7px rgba(255, 255, 255, 0.3);
    }

.icon {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
    transition: transform 0.4s ease-in-out;
}

.box:hover .icon {
    transform: rotateY(360deg);
}

@media (max-width: 768px) {
    .heading {
        font-size: 2rem;
    }

    .box {
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    #management-studies .container {
        max-width: 100%;
    }
}



/*Placement Section Styling*/


.icon-wrapper {
    min-width: 70px;
    min-height: 70px;
    background-color: #ffffff;
    color: #192f59;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.info-box:hover .icon-wrapper {
    transform: rotate(5deg) scale(1.1);
    background-color: #f1f5fa;
}

.info-box i {
    transition: transform 0.3s ease;
}

.info-box:hover i {
    transform: scale(1.2);
}


.company-logo {
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

    .company-logo:hover {
        transform: scale(1.1);
    }

.logo-slider .slide-track {
    display: flex;
    width: calc(200px * 20); /* enough width to show all logos + duplicates smoothly */
    animation: scroll 20s linear infinite;
    padding-right: 100px; /* Ensures nothing gets clipped on the right */
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .info-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .icon-wrapper {
        margin-bottom: 1rem;
    }
}


/*Start Business World Section*/
.putalks-section {
    background: linear-gradient(180deg, #4d4c4c, transparent);
}

/* Scroll wrapper for horizontal scrolling */
.putalks-scroll-wrapper {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}

/* Individual cards */
.putalks-card {
    scroll-snap-align: start;
    min-width: 220px;
    max-width: 220px;
    flex: 0 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: #060606a1;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .putalks-card:hover {
        transform: scale(1.05);
    }

/* Image wrapper to ensure uniform cropping */
.putalks-img-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
}

/* Image itself */
.putalks-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Card content */
.putalks-body {
    padding: 15px;
    text-align: center;
}

.putalks-body .text-color {

    color:white !important;
}

/*Circle Gif Styling*/

.circle-container {
    max-width: 80%;
    /*padding: 20px;*/
    box-sizing: border-box;
}

.circle-svg {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

circle {
    fill: none;
    stroke-width: 29px;
    stroke-dashoffset: 1000;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    position: relative;
}

    .section-title::after {
        content: '';
        display: block;
        width: 100px;
        height: 4px;
        background-color: #e41937;
        margin: 10px auto 0;
        border-radius: 2px;
    }



.events-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.main-gate-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

#campus-events .nav-tabs {
    position: absolute;
    bottom: 0;
    z-index: 10;
    background-color: white;
    padding: 10px 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.1);
    margin: 0 15px;
}

    #campus-events .nav-tabs .nav-link {
        color: #000;
        background-color: #f0f0f0;
        font-weight: 600;
        margin: 5px;
        padding: 10px 16px;
        border: none;
        border-radius: 6px 6px 0 0;
        position: relative;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

        #campus-events .nav-tabs .nav-link.active {
            background-color: #d90000;
            color: #fff;
        }

            #campus-events .nav-tabs .nav-link.active::after {
                content: "";
                position: absolute;
                bottom: -10px;
                left: 50%;
                transform: translateX(-50%);
                border-left: 10px solid transparent;
                border-right: 10px solid transparent;
                border-top: 10px solid #d90000;
            }

#campus-events .tab-content {
    padding-top: 40px;
}

/* Responsive Masonry Grid Layout */
.image-grid {
    column-count: 3;
    column-gap: 16px;
}

    .image-grid .image-item {
        display: inline-block;
        width: 100%;
        margin-bottom: 16px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        background-color: #fff;
    }

        .image-grid .image-item img {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
        }

@media (max-width: 992px) {
    .image-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    #campus-events .nav-tabs {
        position: relative;
        overflow-x: auto;
        flex-wrap: nowrap;
        border-radius: 0;
        box-shadow: none;
        padding: 10px;
    }

        #campus-events .nav-tabs .nav-link {
            font-size: 14px;
            padding: 8px 12px;
        }

            #campus-events .nav-tabs .nav-link.active::after {
                display: none;
            }

    .image-grid {
        column-count: 1;
    }
}


/* Accordion button styling */

#eligibility-programs {
    position: relative;
    background-image: url('assets/img/your-image.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow:hidden;
}


#eligibility-programs .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31, 56, 107, 0.6); /* transparent blue overlay */
}
#eligibility-programs .accordion-button {
    background-color: #c6c7c942;
    font-weight: 600;
    color: #37517e;
}

#eligibility-programs .accordion-button:not(.collapsed) {
    background-color: #e2efff;
    color: #0d3c61;
}

/* Accordion body styling */
#eligibility-programs .accordion-body {
    background: #ffffff;
    padding: 1.5rem;
}

/* Program card styling */
#eligibility-programs .program-card {
    border: 1px solid #c6c7c942;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

    #eligibility-programs .program-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

/* Responsive font sizes */
@media (max-width: 576px) {
    #eligibility-programs .program-card h6 {
        font-size: 1rem;
    }
}

.bgcolor {
    background: #c6c7c942 !important;
}


/* News & Events Section */
.news-events-section {
    background: #c6c7c942;
    padding: 0px 0px 60px 0px;
    position: relative;
}

.news-box {
    background: #1f386bd1;
    border-radius: 12px 12px 0px 0px;
    padding: 20px 25px 15px 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    min-height: 300px; /* ⬅️ You can increase this value as needed */
}
    /* 👇 Folded outward curve at bottom */
    .news-box::after {
        content: "";
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 50px;
        background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15), transparent 70%);
        border-radius: 50% / 40%;
        z-index: -1;
        opacity: 0.8;
        pointer-events: none;
    }

.box-title {
    font-size: 22px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #b99663;
    padding-bottom: 10px;
}

/* Scrollable area below title */
.scrolling-wrapper {
    height: 225px; /* Control how tall visible scroll area is */
    overflow: hidden;
    position: relative;
/*
    mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));
 -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1), rgba(0,0,0,0));*/
      }

.scrolling-items {
    display: flex;
    flex-direction: column;
    animation: scroll-up 20s linear infinite;
}

    .scrolling-items.paused {
        animation-play-state: paused;
    }

.news-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 0;
    transition: all 0.3s ease;
    border-bottom: 1px dashed #b99663;
    display: block;
    font-size: 16px;
}

    .news-link:hover {
        color: #ffffff;
        background: rgba(185, 150, 99, 0.1);
        padding-left: 10px;
        border-radius: 5px;
    }

/* Scroll animation */
@keyframes scroll-up {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-100%);
    }
}

/* Mobile Friendly */
@media (max-width: 767px) {
    .news-box {
        padding: 15px 20px;
    }

    .box-title {
        font-size: 18px;
    }

    .news-link {
        font-size: 15px;
    }

    .scrolling-wrapper {
        height: 150px;
    }
}